﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class HELO
    {
        private string yxname;
        private string yxjshao;
        private string username;
        private int gongj;
        private int fanyu;
        private int shudu;
        private int fangyu;

        public HELO(string username, string yxname, string yxjshao, int gongj, int fangyu, int shudu)
        {
            this.username = username;
            this.yxname = yxname;
            this.yxjshao = yxjshao;
            this.gongj = gongj;
            this.fangyu = fangyu;
            this.shudu = shudu;
        }

        
     
        public void shuchu() {
            Console.WriteLine("英雄名称：{0}",yxname);
            Console.WriteLine("英雄介绍：{0}", yxjshao);
            Console.WriteLine("用户名称：{0}", username);
            Console.WriteLine("英雄攻击力：{0}", gongj);
            Console.WriteLine("英雄防御力：{0}", fanyu);
            Console.WriteLine("英雄速度：{0}", shudu);
        }
        public string Yxname {
            get { return this.yxname; }
            set { this.yxname = value; }
        }
        public string Yxjshao
        {
            get { return this.yxjshao; }
            set { this.yxjshao = value; }
        }
        public string Username
        {
            get { return this.username; }
            set { this.username = value; }
        }
        public int Gongj
        {
            get { return this.gongj; }
            set { this.gongj = value; }
        }
        public int Fanyu
        {
            get { return this.fanyu; }
            set { this.fanyu = value; }
        }
        public int Shudu
        {
            get { return this.shudu; }
            set { this.shudu = value; }
        }
    }
}
